//
//  YXBluetoothSetView.m
//  跑跑快销
//
//  Created by 杨潇 on 14-5-4.
//  Copyright (c) 2014年 ylife. All rights reserved.
//

#import "YXBluetoothSetView.h"

@implementation YXBluetoothSetView
@synthesize searchBtn;

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        self.backgroundColor = [UIColor grayColor];
        searchBtn = [UIButton buttonWithType:UIButtonTypeRoundedRect];
        searchBtn.frame = CGRectMake(10,20, 300, 40);
        searchBtn.backgroundColor = [UIColor whiteColor];
        searchBtn.titleLabel.font = [UIFont systemFontOfSize:16];
        [searchBtn setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
        [searchBtn setTitle:@"搜索打印机" forState:UIControlStateNormal];
        [self addSubview:searchBtn];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
